package com.swancloud.model.network.v20210120;

import com.swancloud.common.Buildable;
import com.swancloud.model.ModelEntity;
import com.swancloud.model.network.v20210120.builder.NetworkUpdateBuilder;
import com.swancloud.openstack.networking.v20210120.domain.NeutronServiceProviderV2;

/**
 * An entity used to update a network
 *
 * @author Jeremy Unruh
 */
public interface ServiceProviderV2 extends ModelEntity {

    /**
     * Human-readable name of the resource.
     *
     * @return name
     */
    String getName();

    /**
     * The administrative state of the network, which is up (true) or down (false).
     *
     * @return the admin state up state
     */
    boolean isEnable();

    /**
     * Admin-only. Indicates whether this network is shared across all tenants.
     *
     * @return true if this network is shared
     */
    String getServiceType();

}
